import { TimeStamp } from ".";

export interface LoginReq {
    username: string;
    password: string;
    captcha: string;
}

export interface User extends TimeStamp {
    _id: string;
    username: string;
    email: string;
    status: boolean;
    roles: string[];
    remark: string;
    password?: string;
    nickname?: string;
    avatar?: string;
}